package com.waylau.spring.boot.blog.repository;

import com.waylau.spring.boot.blog.domain.User;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * UserRepository
 *
 * @author leon.cheng
 * @date 2018/12/21 9:35
 **/
public interface UserRepository extends CrudRepository<User,Long> {
//    User saveOrUpdateUser(User user);
//    void deleteUser(Long id);
//    User getUserById(Long id);
//    List<User> listUsers();
}
